package com.coffee.admin.api.merchant.rep;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
public class MerchantCityRep implements Serializable {
    private static final long serialVersionUID = -1L;
    private Integer id;
    private String address;
    private String isDefault;
    private String receiver;
    private String receiverMobile;

    public static void main(String[] args) {
        List<MerchantCityRep> reps = new ArrayList<>();
        MerchantCityRep rep = new MerchantCityRep();
        rep.setId(1);
        rep.setAddress("地址");
        rep.setIsDefault("是否默认");
        rep.setReceiver("联系人");
        rep.setReceiverMobile("联系人手机号");
        reps.add(rep);
        System.out.println(JSONObject.toJSONString(reps));
    }
}

